<?php

namespace App;

class ClubUser extends Model
{
    protected $table = 't_club_users';
    public $timestamps = false;

    public function user()
    {
    	return $this->belongsTo('App\User', 'userid', 'userid');
    }

    public function club()
    {
    	return $this->belongsTo('App\Club', 'club_id', 'club_id');
    }
} 